<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>电商平台 - 首页</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
    <style>
        .container {
            margin-top: 100px;
        }
        .welcome-text {
            text-align: center;
            margin-bottom: 50px;
        }
        .btn-container {
            text-align: center;
        }
        .btn-container .btn {
            margin: 10px;
            width: 200px;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="welcome-text">
        <h1>欢迎来到电商平台</h1>
        <p class="lead">请选择登录或注册以开始购物</p>
    </div>

    <div class="btn-container">
        <a href="${pageContext.request.contextPath}/login" class="btn btn-primary btn-lg">登录</a>
        <a href="${pageContext.request.contextPath}/register" class="btn btn-success btn-lg">注册</a>
    </div>
</div>

<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
</body>
</html>